<?php 
	class Main_Controller extends MY_Controller{
			protected $_data;
		public function __construct(){ 
			parent::__construct();
			$mod=$this->uri->segment(1);					// = default
			$this->_data['module']= $mod; 					// $data['module'] = default
			$this->_data['path']="$mod/template";			// 	default/template in views 
		}
			
}


?>